package design.Bridge;

/**
 * Created by looper on 2017/8/16.
 */
public abstract class Bridge {
  private Driver driver;

  public void connect(){
    driver.connect();
  }

  public void setDriver(Driver driverTemp){
    this.driver = driverTemp;
  }

  public Driver getDriver(){
    return this.driver;
  }
}
